Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Secp256k1 format private keys import #357

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

j75689
Copy link
Collaborator

@j75689 j75689 commented Nov 2, 2023

Description

feat: support Secp256k1 private keys import

Rationale

support Secp256k1 format private keys import via cmd

Example

./build/bin/gnfd keys import testing 89319801b3f2d5cb... --home ./.local --secp256k1-private-key --keyring-backend test
./build/bin/gnfd keys list --home ./.local --keyring-backend test
image

Changes

Notable changes:

  • cmd

@j75689 j75689 changed the title feat: support eip712 private keys import feat: support eip712 format private keys import Nov 2, 2023
Short: "Import private keys into the local keybase",
Long: "Import a ASCII armored private key into the local keybase.",
Long: "Import a ASCII armored/EIP-712 private key into the local keybase.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think EIP-712 can not describe a kind of private key

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Collaborator

@unclezoro unclezoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the description

@j75689 j75689 changed the title feat: support eip712 format private keys import feat: support Secp256k1 format private keys import Nov 2, 2023
@unclezoro unclezoro added this pull request to the merge queue Nov 9, 2023
Merged via the queue into bnb-chain:develop with commit ddd4ce0 Nov 9, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants